<div class="grid_12">
    <div class="main_1_slideshow">
        <div id="mySlideshows" class="slideImages">
            <img src="images/banner_1.jpg" alt="1"/>
            <img src="images/banner_2.jpg" alt="2"/>
            <img src="images/banner_3.jpg" alt="3"/>

            <!-- empty element for Progress Bar -->
            <div class="slideProgress"></div>

            <!-- empty element for Control next/prev -->
            <div class="slidePrev" id="slidePrev"></div>
            <div class="slideNext" id="slideNext"></div>
        </div>
    </div>
</div>

<div class="grid_10 push_1 heading_block_1">
    <h1>Giới thiệu về chúng tôi</h1>
    <h3>Verterem deserunt praesent ad his, et eam vero elitr referrentur, mei mollis officiis placerat ea. Aperiam legendos in sit, eu vide latine vel, eam in ignota posidonium.</h3>
</div>
<div class="clear"></div>

<div class="grid_4">
    <div class="borderType_1">
        <a href="index_1.php?show=news_detail" title="Thương Hiệu">
            <div class="icon icon_1"></div>
        </a>
        <h2 class="txtBlackColor">Thương Hiệu</h2>
        <p class="txtColor1">
            Lorem ipsum dolor sit amet, nec ad fabellas aliquando, duo at solet mediocrem concludaturque. Labore periculis moderatius te nec. Mei ad odio novum, quo ea modus vulputate.
        </p>
        <p>
            <a href="index_1.php?show=news_detail" class="link lnColor2">
                Xem thêm
            </a>
        </p>
    </div>
</div>

<div class="grid_4">
    <div class="borderType_1">
        <a href="index_1.php?show=news_detail" title="Website">
            <div class="icon icon_2"></div>
        </a>
        <h2 class="txtBlackColor">Website</h2>
        <p class="txtColor1">
            Lorem ipsum dolor sit amet, nec ad fabellas aliquando, duo at solet mediocrem concludaturque. Labore periculis moderatius te nec. Mei ad odio novum, quo ea modus vulputate.
        </p>
        <p>
            <a href="index_1.php?show=news_detail" class="link lnColor2">
                Xem thêm
            </a>
        </p>
    </div>
</div>

<div class="grid_4">
    <div class="borderType_1">
        <a href="index_1.php?show=news_detail" title="In ấn">
            <div class="icon icon_3"></div>
        </a>
        <h2 class="txtBlackColor">In ấn</h2>
        <p class="txtColor1">
            Lorem ipsum dolor sit amet, nec ad fabellas aliquando, duo at solet mediocrem concludaturque. Labore periculis moderatius te nec. Mei ad odio novum, quo ea modus vulputate.
        </p>
        <p>
            <a href="index_1.php?show=news_detail" class="link lnColor2">
                Xem thêm
            </a>
        </p>
    </div>
</div>

<script type="text/javascript">
var progress = $('.slideProgress'), slideSelector = $( '#mySlideshows' );
var timeTracking;
var timeRemain;

slideSelector.on( 'cycle-initialized cycle-before', function( e, opts ) {
    progress.stop(true).css( 'width', 0 );
});
slideSelector.on( 'cycle-initialized cycle-after', function( e, opts ) {
    progress.stop(true)
    .css('width', 0 )
    .animate({ width: '100%' }, opts.timeout, 'linear' );

    timeTracking = new Date().getTime();
});
slideSelector.on( 'cycle-paused', function( e, opts ) {
    progress.stop(); 

    myTime = new Date().getTime();
    timeRemain = opts.timeout - (myTime - timeTracking);
});
slideSelector.on( 'cycle-resumed', function( e, opts, timeoutRemaining ) {
    progress.animate({ width: '100%' }, timeoutRemaining, 'linear' );
});

$('#mySlideshows').cycle({
    log: false,
    pauseOnHover: true,
    timeout: 5000,
    fx: 'fade',
    prev: '#slidePrev',
    next: '#slideNext'
});    
</script>